<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>换列</title>
	</head>
	<body>
		
<script>
    for(var i=1;i<=100;i++){
        document.write(i+"&nbsp");
        if(i%10==0){
            document.write("<br/>");
        }
    }
</script>


	</body>
</html>
